<?php
namespace App\Repositories;

use App\Interfaces\KeywordsService;
use App\Models\Keywords;

class KeywordsRepository implements KeywordsService{

    public function __construct(Keywords $keywords){

        $this->keywords = $keywords;

    }

    public function getKeywords(){

        return  $this->keywords->orderBy('sort_order','desc')->get()->take(7);
    }

}